{% load meta %}
{% load staticfiles %}
{% load compress %}
<!DOCTYPE html>
<html ng-app="app">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    {% block seo %}
        {% set_meta %}
    {% endblock %}
    <!-- 依赖js文件 -->
    <script src="{% static 'js/simJQ-2.2.min.js' %}"></script>
    <script src="/static/js/lib/axios.min.js"></script>
    <script src="/static/js/lib/vue.min.js"></script>
    <link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon"/>

    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <script type="text/javascript" src="{% static 'layui/layui.js' %}"></script>
    <!--biancangming自定义的css-->

    <link rel="stylesheet" href="/static/css/bcm.css">
    {% compress js %}
        <script src="/static/js/bcm_article.js"></script>
        <script src="/static/js/BbdlocalStory.js"></script>
    {% endcompress %}
    {% include 'ads/index.html' %}
</head>

<span id='csrf_token' csrf_token={{ csrf_token }}></span>
{% include 'import/nav.html' %}
<body style="background-color: #F5F6F7">
<div class="layui-container">
    <div class="layui-row base-bg layui-col-space5">
        {% block main %} {% endblock %}
        {% block side %}
            <div id="index-side" class="layui-col-md4 layui-col-lg4">
                {% for plug in plug_templates %}
                    {% include plug %}
                {% endfor %}
            </div>
        {% endblock %}
    </div>
</div>

{# 固定图标，目录和TOP #}
<ul class="layui-fixbar bcm-small-hide" id="bcm-fixbar" style="right: 50px; bottom: 100px;">
    <li style="background-color:#393D49">
        <a href="#top">
            <i class="layui-icon layui-icon-top" style="font-size: xx-large;color: white"></i>
        </a>
    </li>
</ul>
</body>
<style>
    .base-bg {
        margin-top: 5px;
        min-height: 100%;
        box-shadow: 0 0 10px #fff;
        border-radius: 5px;
    }
</style>
</html>